package com.imooc.user.service;

import com.imooc.utils.PagedGridResult;

import java.util.Date;

public interface AppUserMngService {

    /**
     * 查询所有网站用户
     */
    PagedGridResult queryAllUserList(String nickname, Integer status, Date startDate, Date endDate, Integer page, Integer pageSize);

    /**
     * 冻结用户账号, 或者解除冻结状态
     */
    void freezeUserOrNot(String userId, Integer doStatus);

}
